package com.ibeeking.found.report.rest.controller.v1;

import com.ibeeking.found.report.rest.service.IBaseService;
import com.ibeeking.found.report.rest.service.IReportDictItemService;
import com.ibeeking.found.report.service.common.dos.ReportDictItemDO;
import com.ibeeking.found.report.service.common.query.ReportDictItemPageQuery;
import com.ibeeking.found.report.service.common.vo.ReportDictItemVO;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 数据字典项(ReportDictItemDO)实体类
 *
 * @author lirui
 * @since 2021-03-10 13:05:59
 */
@RestController
@RequestMapping("/dictItem/v1")
public class DmpReportDictItemController extends DmpBaseController<ReportDictItemPageQuery, ReportDictItemDO, ReportDictItemVO> {
    @Resource
    private IReportDictItemService reportDictItemServiceImpl;
    
    @Override
    public IBaseService<ReportDictItemPageQuery, ReportDictItemDO> getService() {
        return reportDictItemServiceImpl;
    }

    @Override
    public ReportDictItemDO getEntity() {
        return new ReportDictItemDO();
    }

    @Override
    public ReportDictItemVO getDTO() {
        return new ReportDictItemVO();
    }
}